﻿using System;

namespace Alex.Library.Tasks
{
    /// <summary>
    /// 试图访问不存在的任务异常
    /// </summary>
    public sealed class TaskNotFoundException : TaskException
    {
        /// <summary>
        /// 默认构造函数
        /// </summary>
        public TaskNotFoundException() : base("任务不存在.") { }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="message">异常信息</param>
        public TaskNotFoundException(string message) : base(message) { }
    }
}
